package com.plusapps.inkwang;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainActivity extends Activity {
	
	private Activity parentContext = this;
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        Button btnVideoList = (Button)findViewById(R.id.btn_video_list);
        btnVideoList.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View v) {
		        startActivity(new Intent(parentContext, VideoListActivity.class));
			}
		});


        Button btnColumnList = (Button)findViewById(R.id.btn_column_list);
        btnColumnList.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View v) {
				startActivity(new Intent(parentContext, ColumnListActivity.class));
			}
		});
        
        
        Button btnNewsList = (Button)findViewById(R.id.btn_news_list);        
    }
    
}